package com.ujiuye.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 施立璇
 * @version 1.0
 * @description: TODO ThymeleafThymeleaf赋值、字符串拼接
 * @date 2021/5/20 21:50
 */
@Controller
public class FourThymeleafController {

    @GetMapping("/four")
    public String indexPage(Model model) {

        model.addAttribute("userName", "优就业");

        model.addAttribute("href", "http://www.ujiuye.com");

        return "index4";
    }
}
